segment n. 1.(自然形成的)段落;断片;部分;分节;段;节。 2.【数学】(线)段;弓形。 3.圆缺;球缺。 4.环节;切片。 5.【生物学】分裂片;体节;环节;【植物;植物学】细裂片;全裂片。 6.【电学】整流子片;【计算机】程序段;【机械工程】扇形体;弧层;拼合轮缘。 a segment of an orange 橘子的一片。 the jointed segments of a bamboo stem 一根竹子的许多节段。 in segments 成节[段],分节[段]。 vi. 【生物学】分裂。 guide segment 弓形座。 mica segment 云母片。 vt. 分割,分裂;【生物学】使分裂。 a segmented worm 环虫。
array vt. 1.打扮,装饰。 2.使…列队,排列。 3.提出(陪审官)名单,使(陪审官)列席,召集(陪审官)。 The general arrayed his troops for battle. 将军使军队列队准备战斗。 The girl arrayed herself in her finest clothes. 这女孩打扮得花枝招展。 The count and his men arrayed themselves against the king. 伯爵举兵对抗国王。 n. 1.整列,队列,阵(列);阵容。 2.〔诗〕衣裳,装扮,打扮。 3.陪审官名单。 4.一大批,一大群,一连串。 5.【数学】排列。 a battle array 战斗队形,列阵。 holiday array 节日盛装。 be in fine array 盛装。 an array of actors 演员的阵容。 a window array 橱窗陈列品。 an array of (umbrellas) 一排(伞)。 in battle array 列阵,严阵。 in proud array 堂堂正正。
Gets the number of elements in the range delimited by the array segment 获取由数组段分隔的范围中的元素个数。
Gets the original array containing the range of elements that the array segment delimits 获取原始数组,其中包含数组段分隔的元素范围。
Gets the position of the first element in the range delimited by the array segment , relative to the start of the original array 获取由数组段分隔的范围中的第一个元素的位置(相对于原始数组的开始位置) 。
It also provides three methods for accessing array elements : standard indexing , creating subarrays , and slicing , which produces a less dimensional view of an array segment 它还提供三种访问数组元素的方法:标准索引、创建子数组和切片( slicing ) ,切片能产生维数更小的数组片段的视图。